package com.sugar.psych.assessment.module.business.controller.app.userpsychassessmentrecord.vo;

import com.sugar.psych.assessment.module.business.dal.dataobject.psychquestion.PsychQuestionDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "App - 用户心理测评记录题目 Response VO")
@Data
public class AppUserPsychQuestionRecordDetailRespVO{

    @Schema(description = "题目ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "17871")
    private Long id;

    @Schema(description = "题目标题", requiredMode = Schema.RequiredMode.REQUIRED)
    private String title;

    @Schema(description = "选项信息", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<PsychQuestionDO.Option> optionList;
    /**
     * 题型（0单选 1多选）
     */
    //private Boolean questionType;

    @Schema(description = "用户选择答案", requiredMode = Schema.RequiredMode.REQUIRED)
    private String answer;
}